import request from '@/utils/request'

// 查询工位-打印机列表
export function listSet_station_print(query) {
  return request({
    url: '/set/stationPrint/list',
    method: 'get',
    params: query
  })
}

// 查询工位-打印机详细
export function getSet_station_print(id) {
  return request({
    url: '/set/stationPrint/' + id,
    method: 'get'
  })
}

// 新增工位-打印机
export function addSet_station_print(data) {
  return request({
    url: '/set/stationPrint',
    method: 'post',
    data: data
  })
}

// 修改工位-打印机
export function updateSet_station_print(data) {
  return request({
    url: '/set/stationPrint',
    method: 'put',
    data: data
  })
}

// 删除工位-打印机
export function delSet_station_print(id) {
  return request({
    url: '/set/stationPrint/' + id,
    method: 'delete'
  })
}

// 导出工位-打印机
export function exportSet_station_print(query) {
  return request({
    url: '/set/stationPrint/export',
    method: 'get',
    params: query
  })
}
// 下载模板
export function importTemplate() {
  return request({
    url: '/set/stationPrint/importTemplate',
    method: 'get',
  })
}
